package com.ws.dz.mapper.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户注册")
public class RegisterUser implements Serializable {
    @ApiModelProperty(value="账号",required = true)
    private String username;
    @ApiModelProperty(value="密码",required = true)
    private String password;
    @ApiModelProperty(value="角色ID",required = true)
    private long roleId;

    @ApiModelProperty(value="头像地址")
    private String headIcon;

    @ApiModelProperty(value="真实姓名",required = true)
    private String realName;
    @ApiModelProperty(value="性别",required = true)
    private String gender;
    @ApiModelProperty(value="手机号",required = true)
    private String phone;
    @ApiModelProperty(value="身份证",required = true)
    private String selfNum;
}
